	<table>
		<thead>
			<tr>
				<th width="20"><?php echo form_checkbox(array('name' => 'action_to_all', 'class' => 'check-all')); ?></th>
				<th><?php echo lang('escort_banner_id_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_banner_user_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_ads_zone_zone_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_ads_zone_code_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_banner_banner_type_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_ads_zone_width_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_ads_zone_height_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_banner_statistic_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_banner_updated_time_label'); ?></th>
				<th width="180"></th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="11">
					<div class="inner"><?php $this->load->view('admin/partials/pagination'); ?></div>
				</td>
			</tr>
		</tfoot>
		<tbody>
			<?php foreach ($banners as $banner) : ?>
				<tr>
					<td><?php echo form_checkbox('action_to[]', $banner->id); ?></td>
					<td><?php echo $banner->id; ?></td>
					<td class="collapse"><?php echo $banner->user_added?></td>
					<td class="collapse"><?php echo $banner->zone?></td>
					<td class="collapse"><?php echo $banner->code?></td>
					<td class="collapse"><?php echo $banner->banner_type?></td>
					<td class="collapse"><?php echo $banner->width?></td>
					<td class="collapse"><?php echo $banner->height?></td>
					<td class="collapse">
						<?php echo anchor(site_url().'admin/banner/statistic/'.$banner->id, lang('escort_banner_view_label'), array('class'=>'btn orange view-statistics', 'id' => 'view-statistics-'.$banner->id)); ?>
					</td>
					<td class="collapse"><?php echo format_date($banner->updated_time); ?></td>
					
					<td>
						<?php echo anchor('admin/banner/edit/' . $banner->id, lang('global:edit'), 'class="btn orange edit"'); ?>
						<?php echo anchor('admin/banner/delete/' . $banner->id, lang('global:delete'), array('class'=>'confirm btn red delete')); ?>
					</td>
				</tr>
			<?php endforeach; ?>
		</tbody>
	</table>

	<div class="table_action_buttons">
		<?php $this->load->view('admin/partials/buttons', array('buttons' => array('delete', 'active'))); ?>
	</div>